package com.hospital.hospitalpatientservice.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hospital.common.dto.SickpersonDto;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hospitalpatientservice.entity.Sickperson;
import com.hospital.hospitalpatientservice.mapper.SickpersonMapper;
import com.hospital.hospitalpatientservice.service.ISickpersonService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 患者表; InnoDB free: 4096 kB; (`source_id`) REFER `hospital/source`(`id`); (`marita 服务实现类
 * </p>
 *
 * @author handingfei
 * @since 2020-10-21
 */
@Service
public class SickpersonServiceImpl extends ServiceImpl<SickpersonMapper, Sickperson> implements ISickpersonService {

    @Override
    public IPage<Sickperson> getlist(Page page, SickpersonDto vo) {

        return baseMapper.getlist(page, vo);
    }

    @Override
    public void updsickPerson(SickpersonDto sickpersonDto) {
        this.baseMapper.updsickPerson(sickpersonDto);
    }
}
